<style type="text/css">
<!--
.op_menu {
	width: auto;
	float: left;
	height: 100%;
	border: thin solid #CCC;
}
.userinfo {
	width: auto;
	height: 100%;
	float: left;
	margin-left: 10px;
}
-->
</style>
{% extends "base.html" %}
{% block title %}{{page_title}}{% endblock %}
{% block content%}
<div class="op_menu">
<ul>
<li>操作面板</li>
{%if perms.moral.can_change_moral_pri %}
<li><a href="/change_pri_moral_{{stu.key}}.html">德育分(班)</a></li>
{% endif %}
{%if perms.moral.can_change_moral_pub %}
<li><a href="/change_pub_moral_{{stu.key}}.html">德育分(校)</a><strong></strong>
{% endif %}  
{%if perms.moral.can_reset_userpwd %}
<li><a href="/account/password/reset/{{stu.key}}.html">重设密码</a><strong></strong>
{% endif %}  
</ul>
</div>
<div class="userinfo">
  <ul>
<li>姓名:{{stu.user.first_name}}</li>
<li>座号:{{stu.sitenum}}</li>
<li>职务:{{stu.position.title}}</li>
<li>德育分(班):{{stu.moral_pri_mark}}(<a href="/moral_log_pri_{{stu.key}}.html">记录</a>)</li>
<li>德育分(校):{{stu.moral_pub_mark}}(<a href="/moral_log_pub_{{stu.key}}.html">记录</a>)</li>
</ul>
</div>
{% endblock %}